﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LoginUC.ascx.cs" Inherits="UC_LoginUC" %>

<div> 
  <asp:MultiView ID="mvwLogin" runat="server">
    <asp:View ID="vwLogin" runat="server">
      <table border="0">
        <tr>
          <td>
            <asp:label ID="ltrUserName" runat="server" Text="User Name"></asp:label>&nbsp;
          </td>
          <td>
            <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>&nbsp;
          </td>
          <td>
            <asp:label ID="ltrPwd" runat="server" Text="Password"></asp:label>&nbsp;
          </td>
          <td>
            <asp:TextBox ID="txtPwd" runat="server" TextMode="Password"></asp:TextBox>&nbsp;
          </td>
          <td>
            <asp:Button ID="btnLogin" runat="server" Text="Login" onclick="btnLogin_Click" />
          </td>          
        </tr>
      </table>             
    </asp:View>
    <asp:View ID="vwWellcome" runat="server">
      <table border="0">
        <tr>
          <td>
            <span>Welcome!&nbsp; </span><asp:label ID="ltrWellcomeUserName" runat="server" CssClass="wellcome"></asp:label>&nbsp;
          </td>
          <td>
            <asp:Button ID="btnLogOut" runat="server" Text="Log Out" class="logoutButton" onclick="btnLogOut_Click"/>
          </td>          
        </tr>
      </table>   
    </asp:View>
  </asp:MultiView>
</div>



